let model = function (type) {
    function getModel(type) {
        if (type === "addShare") {
            addShare();
        } else if (type === "share") {
            share();
        }
    }

    function addShare() {

    }

    function share() {

    }

    return {
        getModel: getModel
    }
};